package com.hxkj.domain.po;

import java.io.Serializable;
import java.util.List;

/**
* 
*
* @author: yaosy
* @version: 1.0
* @datetime: 2018年7月2日09:34:00
*/
public class PagingResult<T> implements Serializable {


    private static final long serialVersionUID = 3439282024571732302L;
    /**
     * 当前页码
     */
    private int page;
    /**
     * 总记录数
     */
    private long total;
    /**
     * 每页记录数
     */
    private int pageSize;
    /**
     * 每页数据记录
     */
    private List<T> rows;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
